package com.wt.admin.code.sys;

import com.aizuda.easy.security.exp.IErrorCode;

public enum SysSettingCode implements IErrorCode {
    SETTING_CODE_1300(1300, "密码长度不能为空或小于6位"),
    SETTING_CODE_1301(1301, "初始化密码不能为空或小于6位"),
    SETTING_CODE_1302(1302, "密码失效不能为空或小于1天"),
    SETTING_CODE_1303(1303, "会话失效不能为空或小于1天"),
    SETTING_CODE_1304(1304, "密码长度小于指定长度"),
    SETTING_CODE_1305(1305, "用户安全设置不能为空"),
    SETTING_CODE_1306(1306, "密码需要包含大写"),
    SETTING_CODE_1307(1307, "密码需要包含小写"),
    SETTING_CODE_1308(1308, "密码需要包含特殊字符"),
    SETTING_CODE_1309(1309, "账号长度不能为空或小于5位"),
    SETTING_CODE_1310(1310, "应用安全设置不能为空"),
    SETTING_CODE_1311(1311, "操作日志保留时长不能为空或小于90天"),
    ;


    private Integer code;
    private String msg;

    SysSettingCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

}
